package com.czk.model.buildermodel.practice;

/**
 * 需要建造的东西
 * @Author:ChenZhangKun
 * @Date: 2020/7/2 23:02
 */
public class Car {
    // 车的基本属性
    // 品牌
    private String brand;
    // 轮子
    private String wheel;
    // 外壳
    private String shell;

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getWheel() {
        return wheel;
    }

    public void setWheel(String wheel) {
        this.wheel = wheel;
    }

    public String getShell() {
        return shell;
    }

    public void setShell(String shell) {
        this.shell = shell;
    }

    @Override
    public String toString() {
        return "Car{" +
                "brand='" + brand + '\'' +
                ", wheel='" + wheel + '\'' +
                ", shell='" + shell + '\'' +
                '}';
    }
}
